package com.nms.model.pojo;

public class PageParam {

	/**
	 * 当前页的序号
	 */
	private int index;
	/**
	 * 当前页的记录条数
	 */
	private int size;
	/**
	 * 记录的总条数
	 */
	private int totalCount;
	/**
	 * 页的action
	 */
	private String action;

	public PageParam(){
		this(0,10,10,"");
	}
	public PageParam(int index,int size,int totalCount,String action){
		this.index = index;
		this.size = size;
		this.totalCount = totalCount;
		this.action = action;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
}
